<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
  <script src="jquery.min.js"></script>
  <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no,viewport-fit=cover,shrink-to-fit=no"/><!--shrink-to-fit=no自动适应手机宽度-->
</head>
<style>
  body{
    background: royalblue;
    padding: 0;
    margin: 0 0 0 10px;
    opacity: .5;
  }
  div{
    width: 100%;
    height:100%
  }
</style>
<body >
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div><div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>
<div>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. A architecto at beatae deserunt expedita id illo illum impedit incidunt, ipsam iste, magnam molestias nam obcaecati omnis pariatur qui quis sapiente?
</div>

</body>
<script>
  $(function () {
      $('body, html').animate({'margin-left': "0", "opacity": "1"}, 1500)
  })
</script>
</html>
